﻿using Abp.Application.Services.Dto;
using ARchGL.Platform.Electrocar.Core;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace ARchGL.Platform.Electrocar.Application.Dto
{
    /// <summary>
    /// 文件信息 ViewModel
    /// </summary>
    [NotMapped]
    public class FilesEditDto : EntityDto<Guid>
    {
        /// <summary>
        /// 目录Id
        /// </summary>
        public Guid FileDirectoryId { get; set; }
        /// <summary>
        /// 文件Id（来自文件系统）
        /// </summary>
        public Guid FileId { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 扩展名
        /// </summary>
        public string Extension { get; set; }
        /// <summary>
        /// 大小（存储单位为 B）
        /// </summary>
        public int Size { get; set; }
    }
}
